:root {
  --bg: #e7f6f0;
  --bg-soft: #ffffff;
  --text: #1d2430;
  --muted: #4b5f75;
  --line: #cdddeb;
  --brand: #6da4e9;
  --brand-strong: #2f79c7;
  --secondary: #a2dcf7;
  --tertiary: #f7b8a2;
  --surface: #ffffff;
  --surface-high: #f4f6fa;
  --surface-lowest: #f9f9f9;
  --shadow: 0 18px 44px rgba(39, 84, 131, 0.13);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 0%, color-mix(in srgb, var(--secondary) 58%, transparent), transparent 42%),
    radial-gradient(circle at 100% 10%, color-mix(in srgb, var(--tertiary) 58%, transparent), transparent 38%),
    var(--bg);
  line-height: 1.55;
}

a {
  color: var(--brand-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  box-shadow: 0 6px 20px rgba(24, 53, 82, 0.06);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  gap: 14px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.96rem;
  text-decoration: none;
}

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

.lang-select {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 24px 8px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%234b5f75' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  color: var(--text);
  font-size: 0.9rem;
  width: 8.5rem;
  min-width: 8.5rem;
  max-width: 8.5rem;
}

.social-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icon:hover {
  background: color-mix(in srgb, var(--secondary) 28%, var(--surface));
}

.social-icon img {
  width: 15px;
  height: 15px;
}

.hero {
  padding: 52px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hero-copy {
  max-width: 860px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4.9vw, 3.7rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.store-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.store-buttons a {
  display: inline-block;
  border-radius: 12px;
}

.store-buttons img {
  height: 58px;
  width: auto;
}

.section {
  padding: 40px 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.56rem, 4vw, 2.45rem);
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--muted);
  max-width: 70ch;
  margin: 10px 0 0;
}

.feature-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(40, 74, 108, 0.06);
}

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

.feature-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.screenshot-strip {
  margin-top: 24px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.screenshot-strip button {
  border: 0;
  background: transparent;
  border-radius: var(--radius-md);
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
}

.screenshot-strip img {
  border-radius: var(--radius-md);
  border: 0;
  box-shadow: none;
}

.lang-availability {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.review-preview,
.blog-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 22px;
}

.review-preview h3,
.blog-preview h3 {
  margin: 0;
  font-size: 1.1rem;
}

.review-preview ul,
.blog-preview ul {
  margin: 12px 0 0;
  padding-left: 19px;
}

.review-preview li,
.blog-preview li {
  margin: 8px 0;
  color: var(--muted);
}

.review-preview a,
.blog-preview a {
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  margin-top: 36px;
  padding: 24px 0 30px;
  font-size: 0.95rem;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-social {
  margin-top: 12px;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-left: auto;
  color: var(--muted);
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--text);
}

.footer-meta {
  margin-top: 12px;
  color: var(--muted);
}

.footer-built {
  margin: 0;
  font-weight: 600;
}

.page-header {
  padding: 42px 0 18px;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.4vw, 3rem);
  letter-spacing: -0.02em;
}

.page-header p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

.card-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 18px;
}

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

.card-link:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 12px 24px rgba(40, 74, 108, 0.08);
}

.blog-cover {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-lowest);
  margin-bottom: 14px;
}

.blog-cover-list {
  width: min(100%, 460px);
}

.blog-cover-article {
  width: min(100%, 760px);
  margin: 0 auto 18px;
}

.blog-list-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 18px;
  align-items: center;
}

.blog-list-card .blog-cover-list {
  width: 100%;
  margin-bottom: 0;
}

.blog-list-content h2 {
  margin: 0;
}

.blog-list-content .meta {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.blog-list-content p {
  margin: 10px 0 0;
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 1.2rem;
}

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

.comparison-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(40, 74, 108, 0.08);
  text-decoration: none;
  color: inherit;
}

.comparison-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 14px 26px rgba(40, 74, 108, 0.1);
}

.comparison-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-chip {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-lowest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-chip img {
  width: 24px;
  height: 24px;
}

.vs-chip {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1;
  text-transform: uppercase;
}

.comparison-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.comparison-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.comparison-read {
  margin-top: auto;
  align-self: flex-end;
  font-weight: 600;
  color: var(--brand-strong);
  padding-top: 14px;
}

.comparison-icons-detail {
  margin-top: 12px;
}

.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 4vw, 34px);
  margin-top: 16px;
}

.article h2 {
  margin-top: 1.35em;
  font-size: 1.45rem;
}

.article h3 {
  margin-top: 1.2em;
  font-size: 1.15rem;
}

.article p,
.article li {
  color: var(--text);
}

.article ul {
  padding-left: 20px;
}

.article .meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 24, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 80;
}

.lightbox.open {
  display: flex;
}

.lightbox-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(92vw, 1200px);
  max-height: 92vh;
}

.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox button {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.2rem;
}

.lightbox-close {
  top: 10px;
  right: 10px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox-nav-prev {
  left: 6px;
}

.lightbox-nav-next {
  right: 6px;
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .nav-links {
    display: none;
  }

  .social-row {
    font-size: 0.85rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .blog-list-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .blog-list-card .blog-cover-list {
    margin-bottom: 10px;
  }
}

@media (max-width: 560px) {
  .brand-text {
    display: none;
  }


  .store-buttons img {
    height: 52px;
  }

  .social-row > span {
    display: none;
  }
}
