:root {
  --qt-ink: #073b2a;
  --qt-ink-soft: #42695c;
  --qt-green: #099b62;
  --qt-green-dark: #04784b;
  --qt-green-pale: #dff6ed;
  --qt-mint: #f2fcf8;
  --qt-surface: rgba(255,255,255,.9);
  --qt-line: #d5eee4;
  --qt-blue: #1978d1;
  --qt-coral: #ef5350;
  --qt-shadow: 0 18px 50px rgba(25,112,82,.12);
  --qt-radius: 22px;
  --qt-max: 1180px;
}

* { box-sizing: border-box; }
body:not(.qt-ready) { visibility: hidden; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--qt-ink);
  background:
    radial-gradient(circle at 88% -10%, rgba(25,120,209,.13), transparent 32rem),
    radial-gradient(circle at -8% 30%, rgba(9,155,98,.13), transparent 28rem),
    var(--qt-mint);
  font: 500 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-width: 320px;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image: linear-gradient(rgba(9,155,98,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(9,155,98,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
a { color: inherit; }
img { max-width: 100%; }
.qt-container { width: min(var(--qt-max), calc(100% - 40px)); margin: 0 auto; position: relative; }
.qt-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,252,248,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(213,238,228,.82);
}
.qt-nav { min-height: 78px; display: flex; align-items: center; gap: 16px; }
.qt-brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.qt-brand img { width: 112px; height: 54px; object-fit: contain; object-position: left center; }
.qt-brand-footer img { width: 150px; height: 76px; }
.qt-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.qt-links a, .qt-mobile-menu a { text-decoration: none; color: var(--qt-ink-soft); font-size: .84rem; font-weight: 700; padding: 7px 9px; border-radius: 12px; white-space: nowrap; }
.qt-links a:hover, .qt-links a.active, .qt-mobile-menu a:hover { background: var(--qt-green-pale); color: var(--qt-green-dark); }
.qt-links a { display: inline-flex; align-items: center; height: 38px; line-height: 38px; }
.qt-brand { align-self: center; }
.qt-actions .qt-btn, .qt-lang-btn, .qt-menu-toggle { align-self: center; }
.qt-actions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.qt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 800; font-size: .9rem; text-decoration: none; cursor: pointer; transition: .2s ease;
}
.qt-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(9,155,98,.16); }
.qt-btn-primary { background: var(--qt-green); color: white; }
.qt-btn-primary:hover { background: var(--qt-green-dark); }
.qt-btn-ghost { background: rgba(255,255,255,.74); border-color: var(--qt-line); color: var(--qt-ink); }
.qt-btn-ghost:hover { border-color: var(--qt-green); }
.qt-btn-blue { background: var(--qt-blue); color: white; }
.qt-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--qt-line); border-radius: 13px; background: white; color: var(--qt-ink); font-size: 1.25rem; }
.qt-mobile-menu { display: none; padding: 10px 0 18px; border-top: 1px solid var(--qt-line); }
.qt-mobile-menu.open { display: grid; gap: 4px; }
.qt-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }

.qt-hero { padding: 76px 0 54px; }
.qt-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.qt-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--qt-green-dark); font-weight: 850; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.qt-kicker:before { content: ""; width: 28px; height: 3px; border-radius: 4px; background: var(--qt-green); }
.qt-hero h1 { margin: 16px 0 18px; font-size: clamp(2.35rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.06em; max-width: 720px; }
.qt-hero h1 em { color: var(--qt-green); font-style: normal; }
.qt-lead { max-width: 630px; color: var(--qt-ink-soft); font-size: 1.08rem; }
.qt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.qt-microcopy { margin-top: 17px; color: #658277; font-size: .78rem; }
.qt-hero-art { position: relative; min-height: 410px; }
.qt-hero-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:34px; opacity:.24; filter:saturate(.9); }
.qt-orbit { position: absolute; inset: 2% 0 0; border-radius: 34px; background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(214,244,235,.8)); border: 1px solid rgba(255,255,255,.92); box-shadow: var(--qt-shadow); overflow: hidden; }
.qt-orbit:before, .qt-orbit:after { content:""; position:absolute; border:1px solid rgba(25,120,209,.18); border-radius:50%; transform:rotate(-16deg); }
.qt-orbit:before { width: 470px; height: 240px; right: -120px; top: 30px; }
.qt-orbit:after { width: 360px; height: 180px; right: -70px; top: 112px; border-color: rgba(9,155,98,.24); }
.qt-chart { position: absolute; left: 32px; right: 32px; bottom: 36px; height: 145px; display:flex; align-items:flex-end; gap: 13px; }
.qt-chart i { flex: 1; border-radius: 10px 10px 3px 3px; background: linear-gradient(to top, var(--qt-green), #78d8ad); box-shadow: 0 7px 14px rgba(9,155,98,.15); }
.qt-chart i:nth-child(1){height:26%}.qt-chart i:nth-child(2){height:38%}.qt-chart i:nth-child(3){height:31%}.qt-chart i:nth-child(4){height:52%}.qt-chart i:nth-child(5){height:62%}.qt-chart i:nth-child(6){height:75%}.qt-chart i:nth-child(7){height:90%}.qt-chart i:nth-child(8){height:100%; background:linear-gradient(to top, var(--qt-blue), #62c5eb);}
.qt-dashboard {
  position: absolute; top: 30px; left: 32px; right: 32px; padding: 17px 19px; border-radius: 18px;
  background: rgba(255,255,255,.88); border: 1px solid rgba(213,238,228,.88); box-shadow: 0 12px 28px rgba(17,95,67,.09);
}
.qt-dashboard-top { display:flex; justify-content:space-between; gap: 12px; color: var(--qt-ink-soft); font-size: .75rem; }
.qt-dashboard-value { font-size: 2.1rem; font-weight: 900; letter-spacing: -.05em; margin: 2px 0; }
.qt-positive { color: var(--qt-green); }
.qt-dashboard-line { display:flex; gap: 8px; align-items:center; color: var(--qt-blue); font-weight: 800; font-size: .76rem; }
.qt-dashboard-line span { width: 8px; height: 8px; border-radius: 50%; background: var(--qt-blue); box-shadow: 0 0 0 5px rgba(25,120,209,.12); }
.qt-hero-badge { position:absolute; right: 20px; bottom: 20px; padding: 10px 13px; border-radius: 14px; background: #064b38; color: white; font-size: .75rem; font-weight: 800; box-shadow: 0 10px 24px rgba(6,75,56,.22); }

.qt-section { padding: 68px 0; }
.qt-section-soft { background: rgba(255,255,255,.48); border-top: 1px solid rgba(213,238,228,.68); border-bottom: 1px solid rgba(213,238,228,.68); }
.qt-section-head { display:flex; justify-content:space-between; align-items:end; gap: 24px; margin-bottom: 28px; }
.qt-section-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.045em; line-height: 1.1; }
.qt-section-head p { max-width: 560px; margin: 0; color: var(--qt-ink-soft); }
.qt-eyebrow { color: var(--qt-green-dark); font-weight: 850; font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 8px; }
.qt-grid { display:grid; gap: 17px; }
.qt-grid-2 { grid-template-columns: repeat(2, 1fr); }
.qt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.qt-grid-4 { grid-template-columns: repeat(4, 1fr); }
.qt-card { background: var(--qt-surface); border:1px solid rgba(213,238,228,.95); border-radius: var(--qt-radius); padding: 24px; box-shadow: 0 10px 30px rgba(38,112,88,.06); }
.qt-card:hover { box-shadow: var(--qt-shadow); }
.qt-card h3 { margin: 12px 0 8px; font-size: 1.1rem; letter-spacing: -.02em; }
.qt-card p { margin:0; color: var(--qt-ink-soft); }
.qt-feature-image { display:block; width:100%; max-height:420px; object-fit:cover; border-radius:26px; box-shadow:var(--qt-shadow); border:1px solid rgba(213,238,228,.95); }
.qt-icon { display:grid; place-items:center; width: 48px; height: 48px; border-radius: 15px; color: white; background: var(--qt-green); font-weight: 900; font-size: 1.15rem; }
.qt-icon-blue { background: var(--qt-blue); }
.qt-icon-dark { background: var(--qt-ink); }
.qt-stat { padding: 21px 22px; }
.qt-stat strong { display:block; font-size: 2rem; letter-spacing: -.05em; line-height:1.1; }
.qt-stat span { color: var(--qt-ink-soft); font-size: .84rem; }
.qt-step { position:relative; padding-top: 48px; }
.qt-step-num { position:absolute; top: 22px; left: 24px; color: var(--qt-green); font-weight:900; font-size: .75rem; letter-spacing:.12em; }
.qt-callout { display:flex; align-items:center; justify-content:space-between; gap:20px; padding: 24px 26px; border-radius: 20px; background: linear-gradient(120deg, #064b38, #0b8f60); color: white; box-shadow: 0 17px 32px rgba(6,75,56,.2); }
.qt-callout p { margin: 4px 0 0; color: rgba(255,255,255,.76); }
.qt-callout .qt-btn { background: white; color: var(--qt-ink); flex-shrink:0; }
.qt-plan { display:flex; flex-direction:column; gap: 15px; min-height: 264px; }
.qt-plan-image { width:100%; height:110px; object-fit:contain; padding:10px; border-radius:15px; background:linear-gradient(140deg,#f4fffb,#e6f5ff); border:1px solid var(--qt-line); }
.qt-plan-top { display:flex; align-items:center; justify-content:space-between; }
.qt-plan-id { color: var(--qt-blue); font-weight: 900; letter-spacing:.08em; font-size: .78rem; }
.qt-plan-price { margin:0; font-size: 1.55rem; font-weight: 900; letter-spacing: -.04em; }
.qt-plan-rate { color: var(--qt-green); font-size: .9rem; font-weight: 850; }
.qt-plan-meta { display:grid; grid-template-columns:1fr 1fr; gap: 9px; margin-top:auto; }
.qt-plan-meta div { background: var(--qt-green-pale); padding: 8px 10px; border-radius: 11px; }
.qt-plan-meta small { display:block; color: var(--qt-ink-soft); font-size:.67rem; }
.qt-plan-meta b { display:block; font-size:.82rem; }
.qt-table-wrap { overflow-x:auto; border:1px solid var(--qt-line); border-radius:20px; background:white; }
.qt-table { width:100%; border-collapse:collapse; min-width: 680px; }
.qt-table th, .qt-table td { text-align:left; padding: 15px 18px; border-bottom:1px solid #e5f3ed; }
.qt-table th { background:#effaf5; color:var(--qt-ink-soft); font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; }
.qt-table tr:last-child td { border-bottom:0; }
.qt-faq details { border: 1px solid var(--qt-line); border-radius: 16px; background:white; padding: 16px 18px; }
.qt-faq details + details { margin-top: 10px; }
.qt-faq summary { cursor:pointer; font-weight: 800; }
.qt-faq p { color: var(--qt-ink-soft); margin: 12px 0 0; }
.qt-contact-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.qt-contact-list { display:grid; gap: 10px; margin-top:18px; }
.qt-contact-list a { display:flex; justify-content:space-between; gap: 15px; text-decoration:none; padding: 13px 15px; border:1px solid var(--qt-line); border-radius: 14px; background:white; }
.qt-contact-list span { color: var(--qt-ink-soft); font-size:.84rem; }
.qt-footer { padding: 44px 0 34px; border-top:1px solid var(--qt-line); color: var(--qt-ink-soft); }
.qt-footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.qt-footer strong { color: var(--qt-ink); }
.qt-footer a { text-decoration:none; display:block; margin: 6px 0; font-size:.9rem; }
.qt-footer a:hover { color: var(--qt-green-dark); }
.qt-footer-bottom { display:flex; justify-content:space-between; gap:16px; padding-top:22px; margin-top:22px; border-top:1px solid var(--qt-line); font-size:.78rem; }
.qt-disclaimer { font-size:.75rem; color:#718f83; max-width:760px; }
.qt-page-hero { padding: 66px 0 34px; }
.qt-page-hero h1 { margin: 12px 0; font-size: clamp(2rem, 4vw, 3.55rem); line-height:1.05; letter-spacing:-.055em; }
.qt-page-hero p { max-width: 710px; color:var(--qt-ink-soft); font-size:1.05rem; }
.qt-breadcrumb { color:var(--qt-green-dark); font-size:.78rem; font-weight:800; }
.qt-list { margin: 15px 0 0; padding-left: 20px; color: var(--qt-ink-soft); }
.qt-list li + li { margin-top: 9px; }
.qt-agent-levels { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0; }
.qt-agent-levels span { display:flex; flex-direction:column; gap:2px; padding:12px; border-radius:14px; background:var(--qt-green-pale); }
.qt-agent-levels b { color:var(--qt-ink-soft); font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; }
.qt-agent-levels strong { color:var(--qt-green-dark); font-size:1.55rem; line-height:1.1; }
.qt-highlight { border-left:4px solid var(--qt-green); padding: 14px 18px; background:#eaf9f3; border-radius: 0 14px 14px 0; color: var(--qt-ink); }
.qt-legal { max-width:820px; }
.qt-legal h2 { margin-top: 28px; }
.qt-legal p { color:var(--qt-ink-soft); }

@media (max-width: 1040px) {
  .qt-links { gap: 2px; }
  .qt-links a { padding-inline: 7px; font-size:.82rem; }
  .qt-actions .qt-btn-ghost { display:none; }
}
@media (max-width: 820px) {
  .qt-container { width: min(var(--qt-max), calc(100% - 28px)); }
  .qt-nav { min-height: 68px; gap: 12px; }
  .qt-links, .qt-actions > .qt-btn { display:none; }
  .qt-actions { margin-left: auto; }
  .qt-menu-toggle { display:block; margin-left:auto; }
  .qt-hero { padding-top: 44px; }
  .qt-hero-grid, .qt-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .qt-hero-art { min-height: 330px; }
  .qt-hero h1 { font-size: clamp(2.45rem, 12vw, 4.1rem); }
  .qt-section { padding: 48px 0; }
  .qt-section-head { display:block; }
  .qt-section-head p { margin-top: 12px; }
  .qt-grid-3, .qt-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .qt-callout { align-items:flex-start; flex-direction:column; }
  .qt-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  body { font-size: 15px; }
  .qt-grid-2, .qt-grid-3, .qt-grid-4 { grid-template-columns: 1fr; }
  .qt-card { padding: 20px; }
  .qt-stat { text-align: center; }
  .qt-grid-3 > .qt-card:not(.qt-step) { text-align: center; }
  .qt-grid-3 > .qt-card:not(.qt-step) .qt-icon { margin-inline: auto; }
  .qt-hero-art { min-height: 278px; }
  .qt-dashboard { left: 17px; right: 17px; top: 20px; }
  .qt-chart { left: 18px; right: 18px; bottom: 22px; height: 105px; gap: 7px; }
  .qt-hero-badge { right: 12px; bottom: 11px; }
  .qt-footer-grid { grid-template-columns:1fr; gap: 20px; }
  .qt-footer-bottom { display:block; }
  .qt-footer-bottom span { display:block; margin-top:8px; }
  .qt-mobile-actions { grid-template-columns:1fr; }
  .qt-agent-levels { grid-template-columns:repeat(2,1fr); }
}

/* ── Language picker ── */
.qt-lang-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.qt-lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 11px; border: 1px solid var(--qt-line); border-radius: 999px; background: rgba(255,255,255,.72); cursor: pointer; font-size: .8rem; font-weight: 700; color: var(--qt-ink); white-space: nowrap; }
.qt-lang-btn img { width: 20px; height: 13px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.qt-lang-label { max-width: 68px; overflow: hidden; text-overflow: ellipsis; }
.qt-lang-arrow { flex-shrink: 0; color: var(--qt-ink-soft); transition: transform .2s; }
.qt-lang-menu[aria-expanded="true"] ~ .qt-lang-arrow,
.qt-lang-btn[aria-expanded="true"] .qt-lang-arrow { transform: rotate(180deg); }
.qt-lang-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; width: min(520px, calc(100vw - 24px)); max-height: min(640px, calc(100dvh - 110px)); padding: 14px; border: 1px solid var(--qt-line); border-radius: 20px; background: rgba(252,255,254,.98); box-shadow: 0 24px 60px rgba(24,63,67,.18); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; backdrop-filter: blur(18px); z-index: 200; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; gap: 6px; }
.qt-lang-menu.open { display: grid; }
.qt-lang-opt { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--qt-line); border-radius: 12px; background: white; text-decoration: none; color: var(--qt-ink); font-size: .8rem; font-weight: 700; cursor: pointer; transition: background .15s; min-width: 0; white-space: nowrap; }
.qt-lang-opt:hover { background: var(--qt-green-pale); border-color: var(--qt-green); }
.qt-lang-opt.qt-lang-cur { border-color: var(--qt-green); background: var(--qt-green-pale); color: var(--qt-green-dark); }
.qt-lang-opt img { width: 22px; height: 14px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
/* footer legal */
.qt-footer-legal { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--qt-line); }
.qt-footer-legal a { text-decoration: none; color: var(--qt-ink-soft); font-size: .76rem; }
.qt-footer-legal a:hover { color: var(--qt-green-dark); }
@media (max-width: 540px) { .qt-lang-label { display: none; } .qt-footer-legal { gap: 10px; } }
@media (max-width: 540px) {
  .qt-lang-menu { position: fixed; top: 70px; left: 14px; right: 14px; width: auto; max-height: min(680px, calc(100dvh - 88px)); padding: 10px; border-radius: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; overflow-x: hidden; overflow-y: auto; }
  .qt-lang-opt { min-width: 0; padding: 10px 12px; font-size: .78rem; gap: 8px; }
  .qt-lang-opt span { overflow: hidden; text-overflow: ellipsis; }
}

/* ── Download page ── */
.qt-download-hero { padding: 28px; border-radius: 26px; background: linear-gradient(150deg, #f4fffb, #e8f4ff); border: 1px solid var(--qt-line); box-shadow: var(--qt-shadow); }
.qt-download-hero h2 { margin: 10px 0 12px; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.qt-download-hero p { color: var(--qt-ink-soft); max-width: 660px; }
.qt-store-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.qt-store-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: white; border: 1px solid var(--qt-line); }
.qt-store-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--qt-green-pale); font-size: 1.3rem; flex-shrink: 0; }
.qt-store-card div { display: flex; flex-direction: column; min-width: 0; }
.qt-store-card strong { font-size: .98rem; }
.qt-store-card span { color: var(--qt-ink-soft); font-size: .78rem; }
.qt-store-soon { margin-left: auto; padding: 5px 11px; border-radius: 999px; background: #fff4e5; color: #9a5b00; font-size: .7rem; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
/* ── Language picker pending state ── */
.qt-lang-soon { opacity: .55; cursor: not-allowed; }
.qt-lang-soon:hover { background: white; border-color: var(--qt-line); }
.qt-lang-badge { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: #fff4e5; color: #9a5b00; font-size: .58rem; font-weight: 800; font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 540px) { .qt-store-row { grid-template-columns: 1fr; } }

/* ── Agent table ── */
.qt-tbl-rate { color: var(--qt-green-dark); font-weight: 900; font-size: 1.05rem; }
.qt-tbl-total td { border-top: 2px solid var(--qt-line); background: var(--qt-green-pale); font-size: .9rem; }
.qt-tbl-total .qt-tbl-rate { font-size: 1.1rem; color: var(--qt-green); }
