:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --fg-muted: #555555;
  --accent: #0061ff;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --nav-border: rgba(0, 0, 0, 0.08);
  --footer-bg: #f2f2f2;
  --footer-fg: #666;
  --code-bg: #f0f4f8;
  --code-fg: #1a1a1a;
  --card-bg: #f8f9fb;
  --card-border: #e4e8ed;
  --font: "Nunito", system-ui, -apple-system, sans-serif;
  --max-width: 860px;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161616;
    --fg: #f0f0f0;
    --fg-muted: #999999;
    --accent: #4d9fff;
    --nav-bg: rgba(22, 22, 22, 0.92);
    --nav-border: rgba(255, 255, 255, 0.08);
    --footer-bg: #1e1e1e;
    --footer-fg: #888;
    --code-bg: #000000;
    --code-fg: limegreen;
    --card-bg: #1e1e1e;
    --card-border: #2e2e2e;
  }
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar .navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}
.navbar .navbar-brand:link, .navbar .navbar-brand:visited {
  color: var(--fg);
}
.navbar .navbar-brand img.logo {
  height: 1.4em;
  width: auto;
}
.navbar .navbar-cta {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.navbar .navbar-cta:link, .navbar .navbar-cta:visited {
  color: #ffffff;
}
.navbar .navbar-cta:hover, .navbar .navbar-cta:focus, .navbar .navbar-cta:active {
  opacity: 0.85;
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #0a0a0a;
}
.hero .hero-image-wrap {
  line-height: 0;
}
.hero .hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 2rem 2.5rem;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
}
.hero .hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin: 0 0 1.5rem;
}
.hero .hero-content .mas-link img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
@media (max-width: 640px) {
  .hero .hero-content {
    padding: 2.5rem 1.25rem 2rem;
  }
  .hero .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }
  .hero .hero-content .mas-link img {
    height: 38px;
  }
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: cover;
  object-position: top center;
  opacity: 0.82;
}
@media (max-width: 640px) {
  .hero-img {
    max-height: 240px;
    object-position: right top;
  }
}

.intro {
  padding: 4rem 0 2rem;
  text-align: center;
}
.intro h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}
.intro .lead {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .intro .break-lg {
    display: none;
  }
}

.features {
  padding: 3rem 0;
}
.features .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.features .feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.features .feature-card .feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.features .feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}
.features .feature-card p {
  font-size: 0.975rem;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}

.cta {
  padding: 3rem 0 5rem;
  text-align: center;
}
.cta .mas-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.cta .mas-link img {
  height: 46px;
  width: auto;
}
.cta .mas-link:hover {
  opacity: 0.85;
}
.cta .price-note {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin: 0;
}

.support-form {
  margin-bottom: 3rem;
}
.support-form .form-group {
  margin-bottom: 1.25rem;
}
.support-form label {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.925rem;
  margin-bottom: 0.4rem;
  color: var(--fg);
}
.support-form input,
.support-form textarea {
  display: block;
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--fg);
  background-color: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  appearance: none;
  transition: border-color 0.15s, outline 0.15s;
}
.support-form input:focus,
.support-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.support-form textarea {
  resize: vertical;
  min-height: 120px;
}
.support-form .submit-wrap {
  margin-top: 1.5rem;
}
.support-form button[type=submit] {
  display: block;
  width: 100%;
  max-width: 280px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font);
  font-weight: 700;
  color: #ffffff;
  background-color: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.support-form button[type=submit]:hover, .support-form button[type=submit]:focus {
  opacity: 0.85;
}

footer {
  background-color: var(--footer-bg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  flex-shrink: 0;
}
footer p {
  margin: 0.2rem 0;
  font-size: 0.875rem;
  color: var(--footer-fg);
}
footer a:link,
footer a:visited {
  color: var(--footer-fg);
  text-decoration: underline;
}
footer a:hover,
footer a:focus,
footer a:active {
  opacity: 0.7;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  color: var(--fg);
  line-height: 1.25;
}

p {
  color: var(--fg);
}

code {
  background-color: var(--code-bg);
  color: var(--code-fg);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.88em;
}

a:link,
a:visited {
  color: var(--accent);
}

a:hover,
a:focus,
a:active {
  color: var(--accent);
  opacity: 0.8;
}

.visible-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .visible-dark {
    display: initial;
  }
  .visible-light {
    display: none;
  }
}
.static-content {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}
.static-content h1 {
  margin-bottom: 1.5rem;
}
.static-content h2 {
  margin-top: 2.5rem;
}
.static-content h3 {
  margin-top: 2rem;
}
.static-content p {
  font-size: 1.05rem;
}
.static-content .lead {
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}
.static-content .alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.static-content .alert.alert-warning {
  background-color: #fff8e1;
  border: 1px solid #ffe082;
  color: #6d4c00;
}
@media (prefers-color-scheme: dark) {
  .static-content .alert.alert-warning {
    background-color: #2e2200;
    border-color: #5c3d00;
    color: #ffd966;
  }
}