/* Boostly (Gramentheme, Envato Elements): the section structures of the
   template (hero with the product picture, split panels, framed panel, FAQ
   accordion, final call, footer),
   restyled light and readable: one accent (the violet of the logo), sections
   told apart by bands of color, the ripples of the logo in the hero.
   Fonts: Bricolage Grotesque (headings) and Geist (text), as in the studio.
   See website/README.md. */

:root {
  --bg: #FAF9F6;          /* warm off-white page */
  --surface: #FFFFFF;     /* cards */
  --surface-2: #F3F2EE;   /* frames, quiet blocks */
  --ink: #17171C;         /* headings and strong text */
  --ink-2: #55555F;       /* body text */
  --ink-3: #6B6B75;       /* small notes (AA on --bg) */
  --line: #E7E5E0;
  --line-strong: #D6D3CC;
  --accent: #4C2FD9;      /* the one accent: buttons, links, small highlights */
  --accent-hover: #3D23B8;
  --accent-soft: #EEEAFE;
  --coral: #E8573A;       /* tiny status dots, the one "changed" outline */
  --dark: #141416;        /* the dark band (the problem) */
  --violet-deep: #1E1452; /* the deep violet of the studio: our column, the cloud band */
  --tint: #EFEBFF;        /* the light violet band */
  --head: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(23,23,28,.05), 0 10px 30px -14px rgba(23,23,28,.18);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: 64px; line-height: 1.04; font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: 42px; line-height: 1.1; letter-spacing: -.032em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 650; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; }
@media (max-width: 991px) { h1 { font-size: 52px; } h2 { font-size: 36px; } }
@media (max-width: 575px) { h1 { font-size: 40px; } h2 { font-size: 30px; } body { font-size: 17px; } }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
@media (max-width: 575px) { .container { padding: 0 16px; } }
.section-padding { padding: 110px 0; position: relative; }
@media (max-width: 991px) { .section-padding { padding: 80px 0; } }
@media (max-width: 575px) { .section-padding { padding: 64px 0; } }
.pt-0 { padding-top: 0 !important; }
.text-center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.gt-theme-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; font-size: 16px; font-weight: 600; color: #fff; background: var(--accent); border: 1px solid var(--accent); transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.gt-theme-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.gt-theme-btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.gt-theme-btn.ghost:hover { border-color: var(--ink); }
.gt-theme-btn.sm { height: 40px; padding: 0 16px; font-size: 15px; }

/* Section title: small accent label, plain ink heading, one short line */
.gt-section-title { margin-bottom: 44px; }
.gt-section-title h6, .kicker { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; color: var(--accent); margin: 0 0 14px; }
.gt-section-title p { margin-top: 16px; max-width: 62ch; font-size: 18px; }
.gt-section-title.text-center p { margin-left: auto; margin-right: auto; }
.gt-section-title.text-center h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }

/* Header: white, sticks to the top */
.header-1 { position: sticky; top: 0; z-index: 50; background: rgba(250,249,246,.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header-1.sticky { border-bottom-color: var(--line); }
.header-1 .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 700; font-size: 23px; color: var(--ink); letter-spacing: -.03em; }
.brand img { width: 30px; height: 30px; }
.main-menu { display: flex; gap: 30px; }
.main-menu a { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.main-menu a:hover { color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 12px; }
.lang-o { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; padding: 3px; font-size: 13px; font-weight: 600; background: var(--surface); }
.lang-o a { padding: 5px 8px; border-radius: 6px; color: var(--ink-3); line-height: 1; }
.lang-o a.on { background: var(--surface-2); color: var(--ink); }
.header-1 .short { display: none; }
@media (max-width: 991px) { .main-menu { display: none; } }
@media (max-width: 575px) { .header-1 .bar { height: 64px; } .brand { font-size: 21px; } .brand img { width: 26px; height: 26px; } .header-1 .long { display: none; } .header-1 .short { display: inline; } .header-right { gap: 8px; } }

/* Bands: each section has its own background, so the eye sees where one ends */
.band-white { background: var(--surface); }
.band-tint { background: var(--tint); }
/* The ripples of the logo, faint, in a corner of the soft bands */
.band-tint { overflow: hidden; }
.band-tint::before { content: ""; position: absolute; width: 640px; height: 640px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' fill='none' stroke='%234C2FD9'%3E%3Ccircle cx='320' cy='320' r='110' stroke-opacity='.10' stroke-width='2'/%3E%3Ccircle cx='320' cy='320' r='200' stroke-opacity='.07' stroke-width='2'/%3E%3Ccircle cx='320' cy='320' r='290' stroke-opacity='.045' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.band-tint::before { right: -260px; top: -260px; }
.band-tint > .container { position: relative; z-index: 1; }
.band-dark { background: var(--dark); color: #B4B4BC; }
.band-dark h2, .band-dark h3 { color: #F5F4F0; }
.band-dark .gt-section-title h6, .band-dark .kicker { color: #B9ADFF; }
.band-dark .gt-section-title p { color: #B4B4BC; }

/* Hero (gt-hero-1): compact text, the video right under it, the ripples of
   the logo spreading behind (one hue, very light) */
.gt-hero-1 { padding: 56px 0 90px; position: relative; overflow: hidden; background: linear-gradient(180deg, #EEEAFF 0%, var(--tint) 45%, var(--bg) 100%); }
.gt-hero-1 .container { z-index: 1; }
.ripples { position: absolute; left: 50%; top: 210px; width: 0; height: 0; pointer-events: none; }
.ripples span { position: absolute; left: -600px; top: -600px; width: 1200px; height: 1200px; border-radius: 50%; border: 1.5px solid rgba(76,47,217,.22); transform: scale(.25); opacity: 0; animation: ripple 12s linear infinite; }
.ripples span:nth-child(2) { animation-delay: -3s; }
.ripples span:nth-child(3) { animation-delay: -6s; }
.ripples span:nth-child(4) { animation-delay: -9s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: 0; } 12% { opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ripples span { opacity: .7; } .ripples span:nth-child(1) { transform: scale(.4); } .ripples span:nth-child(2) { transform: scale(.65); } .ripples span:nth-child(3) { transform: scale(.9); } .ripples span:nth-child(4) { display: none; } }
.gt-hero-content { max-width: 860px; margin: 0 auto 44px; text-align: center; }
.gt-hero-content h1 { margin-bottom: 18px; }
@media (max-width: 767px) { .gt-hero-content h1 .br { display: none; } }
.gt-hero-content .lead { max-width: 48ch; margin: 0 auto 28px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.gt-hero-content .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 767px) { .gt-hero-1 { padding: 36px 0 64px; } .gt-hero-content { margin-bottom: 32px; } .gt-hero-content .lead { font-size: 18px; } .ripples { top: 150px; } }
.img-rise { animation: rise .8s ease-out .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Split text and visual (gt-feature-list-wrapper) */
.gt-feature-list-wrapper { border-radius: 20px; border: 1px solid #E2DCFB; background: var(--surface); padding: 64px 56px; box-shadow: 0 30px 60px -40px rgba(40,20,120,.3); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.split.wide-right { grid-template-columns: 5fr 7fr; }
.split .gt-section-title { margin-bottom: 0; }
@media (max-width: 1199px) { .gt-feature-list-wrapper { padding: 44px 34px; } .split { gap: 44px; } }
@media (max-width: 991px) { .split, .split.wide-right { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .gt-feature-list-wrapper { padding: 28px 18px; border-radius: 16px; } }

/* The deep violet band (their own cloud) */
.band-violet { background: var(--violet-deep); color: #C9C2F0; }
.band-violet h2, .band-violet h3 { color: #fff; }
.band-violet .gt-section-title h6 { color: #B9ADFF; }
.band-violet .gt-section-title p { color: #C9C2F0; }

/* The framed panel (gt-what-get): a quiet frame around a white board */
.gt-what-text { margin: 16px 0 28px; max-width: 46ch; font-size: 18px; }
.frame { padding: 28px 28px 0; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.frame .inner { border-radius: 12px 12px 0 0; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; padding: 22px; box-shadow: var(--shadow); }
@media (max-width: 575px) { .frame { padding: 14px 12px 0; } .frame .inner { padding: 14px 12px; } }

/* FAQ (gt-faq-wrapper) */
.gt-faq-wrapper { max-width: 820px; margin: 0 auto; }
.gt-faq-wrapper details { border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; padding: 18px 22px; background: var(--surface); transition: border-color .2s; }
.gt-faq-wrapper details[open] { border-color: var(--line-strong); }
.gt-faq-wrapper summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--head); font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.35; color: var(--ink); }
.gt-faq-wrapper summary::-webkit-details-marker { display: none; }
.gt-faq-wrapper summary::after { content: "+"; font-family: var(--sans); font-size: 22px; font-weight: 400; color: var(--ink-3); line-height: 1; }
.gt-faq-wrapper details[open] summary::after { content: "\2212"; color: var(--accent); }
.gt-faq-wrapper details p { padding-top: 10px; max-width: 62ch; font-size: 16.5px; }
@media (max-width: 767px) { .gt-faq-wrapper summary { font-size: 17px; } .gt-faq-wrapper details { padding: 16px 18px; } }

/* Final call (cta-box-items) */
.cta-box-items { position: relative; overflow: hidden; border-radius: 24px; padding: 72px 40px; text-align: center; background: var(--accent); color: #E4DEFF; }
.cta-box-items > * { position: relative; }
.cta-box-items h2 { max-width: 20ch; margin: 0 auto; color: #fff; }
.cta-box-items p { max-width: 50ch; margin: 16px auto 0; font-size: 18px; }
.cta-box-items .gt-theme-btn { margin-top: 28px; background: #fff; border-color: #fff; color: var(--accent); }
.cta-box-items .gt-theme-btn:hover { background: #F3F0FF; }
/* The ripples of the logo, from the bottom left corner */
.cta-box-items::before { content: ""; position: absolute; left: -260px; bottom: -300px; width: 640px; height: 640px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' fill='none' stroke='%23fff'%3E%3Ccircle cx='320' cy='320' r='110' stroke-opacity='.22' stroke-width='2'/%3E%3Ccircle cx='320' cy='320' r='200' stroke-opacity='.14' stroke-width='2'/%3E%3Ccircle cx='320' cy='320' r='290' stroke-opacity='.08' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 575px) { .cta-box-items { padding: 44px 20px; } }

/* Footer */
.footer-section { border-top: 1px solid var(--line); padding-top: 64px; background: var(--surface-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin-bottom: 14px; }
.footer-grid .about p { margin-top: 14px; max-width: 36ch; font-size: 15.5px; }
.footer-grid li { margin-bottom: 8px; font-size: 15.5px; }
.footer-grid li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line-strong); margin-top: 48px; padding: 22px 0; font-size: 14px; color: var(--ink-3); }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid .about { grid-column: 1 / -1; } }
@media (max-width: 470px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Motion only when welcome */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
