/* Suntex Solutions -- the platform's own site (suntexsolutions.com).
   One typeface (Manrope), flat backgrounds, sizes on the Tailwind scale, spacing on the
   4/8/12/16/24/32/40/48/64/80/96 steps, one easing curve. The amber accent is the brand's. */
/* Manrope (SIL Open Font License), served from this server: no request leaves for a font service. */
@font-face { font-family: Manrope; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ground: #131209;
  --surface: #1f1f1f;
  --surface-2: #272727;
  --chip: #313131;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f2f1ec;
  --ink-2: #cfd1d6;
  --muted: #aeb1b8;
  --faint: #8f939b;
  --accent: #f5a524;
  --accent-hover: #ffc35c;
  --on-accent: #141414;
  --buy: #16a34a;
  --sell: #dc2626;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/24px var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; transition: color 300ms var(--ease); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p, li { margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }

.skip { position: absolute; left: 16px; top: -64px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; color: var(--on-accent); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 48px; padding: 12px 24px; border-radius: 12px; border: 0; cursor: pointer;
  font: 600 16px/24px var(--font);
  transition: background-color 500ms var(--ease), transform 500ms var(--ease), border-color 500ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); color: var(--ink); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 14px; line-height: 20px; border-radius: 9999px; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Floating island header */
.site-header { position: sticky; top: 0; z-index: 20; padding: 16px 16px 0; pointer-events: none; }
.island {
  pointer-events: auto; margin: 0 auto; width: max-content; max-width: 100%;
  display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px;
  background: rgba(31, 31, 31, 0.92); border: 1px solid var(--line); border-radius: 9999px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo span { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 24px; font-size: 14px; line-height: 20px; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.lang { display: flex; gap: 4px; font-size: 14px; line-height: 20px; }
.lang a { color: var(--faint); padding: 4px 8px; border-radius: 9999px; }
.lang a[aria-current="true"] { color: var(--ink); background: var(--chip); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.eyebrow { font-size: 14px; line-height: 20px; color: var(--accent); font-weight: 600; margin-bottom: 24px; }
.hero h1 {
  max-width: 680px; font-size: 60px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 24px;
  background: linear-gradient(90deg, #ffffff, #9b9b9b); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 680px; font-size: 18px; line-height: 28px; color: var(--muted); margin-bottom: 32px; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.assure { font-size: 14px; line-height: 20px; color: var(--muted); }
.proof { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 16px; height: 16px; flex: none; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23f5a524' d='M229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32z'/%3E%3C/svg%3E"); }

.preview { flex: 1 1 560px; min-width: 0; position: relative; height: 520px; }
.console { position: absolute; left: 0; top: 24px; right: 224px; bottom: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.console-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-weight: 600; font-size: 14px; line-height: 20px; }
.console-head .mark { width: 24px; height: 24px; border-radius: 8px; background: #3b82f6; }
.console-head .when { margin-left: auto; font-size: 12px; line-height: 16px; color: var(--faint); font-weight: 400; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.tile { background: var(--surface-2); border-radius: 8px; padding: 12px; min-width: 0; }
.tile small { display: block; font-size: 12px; line-height: 16px; color: var(--faint); min-height: 32px; }
.tile b { font-size: 20px; line-height: 28px; font-weight: 700; }
.rows { font-size: 12px; line-height: 16px; }
.rows div { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rows span:first-child { flex: 1; }
.rows .act { color: var(--accent); }
.rows .done { color: var(--faint); }
.phone { position: absolute; right: 0; top: 0; width: 240px; height: 500px; background: #000; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 32px; padding: 12px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5); }
.phone-screen { background: #181818; border-radius: 20px; height: 100%; padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.phone-screen small { font-size: 12px; line-height: 16px; color: var(--faint); }
.phone-screen .bal { font-size: 24px; line-height: 32px; font-weight: 700; margin-top: -8px; }
.pair { display: flex; gap: 8px; font-size: 12px; line-height: 16px; }
.pair span:first-child { padding: 4px 8px; background: var(--surface-2); border-radius: 8px; }
.pair .up { color: #4ade80; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.sides span { height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.sides .buy { background: var(--buy); }
.sides .sell { background: var(--sell); }
.phone-screen .who { text-align: center; }

/* Facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts .wrap { padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts b { display: block; font-size: 24px; line-height: 32px; font-weight: 700; }
.facts span { color: var(--muted); font-size: 14px; line-height: 20px; }

/* Sections */
.section { padding-top: 96px; }
.section h2 { font-size: 36px; line-height: 40px; margin-bottom: 12px; max-width: 680px; }
.section .intro { color: var(--muted); font-size: 18px; line-height: 28px; max-width: 680px; margin-bottom: 48px; }
.subhead { font-size: 30px !important; line-height: 36px !important; }
.h3 { font-size: 24px; line-height: 32px; margin-bottom: 16px; }
.minor { font-size: 20px; line-height: 28px; margin: 48px 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; transition: border-color 500ms var(--ease), transform 500ms var(--ease); }
.card:hover { border-color: var(--line-strong); }
.card h3 { font-size: 18px; line-height: 28px; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; line-height: 20px; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(245, 165, 36, 0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 9999px; font-size: 14px; line-height: 20px; color: var(--ink-2); }

/* Before and after */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.side { border-radius: 16px; padding: 40px; border: 1px solid var(--line); }
.side.before { background: var(--ground); }
.side.after { background: var(--surface); border-color: rgba(245, 165, 36, 0.4); }
.tag { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 12px; }
.after .tag { color: var(--accent); }
.side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); }
.side li { display: flex; gap: 12px; }
.side li::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; margin-top: 8px; flex: none; background: var(--faint); }
.after li::before { background: var(--accent); }

/* Tagline reveal: each word goes from muted to full ink as it crosses the trigger line. */
.tagline { padding-top: 96px; }
.tagline-text { max-width: 880px; font-size: 48px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.tagline-text .w { color: rgba(242, 241, 236, 0.3); transition: color 700ms var(--ease); }
.tagline-text .w.on { color: var(--ink); }
.tagline-text .w.accent.on { color: var(--accent); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.step .n { color: var(--accent); font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 12px; }
.step .t { font-weight: 700; font-size: 18px; line-height: 28px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 20px; }

/* Plans */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 24px; }
.plan.featured { background: var(--surface-2); border-color: var(--accent); }
.plan.featured { position: relative; }
.plan-badge { position: absolute; top: -12px; left: 32px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; line-height: 20px; font-weight: 700; }
.plan-name { font-size: 20px; line-height: 28px; font-weight: 700; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.plan-tag { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-strong, var(--line)); color: var(--ink-2); font-size: 12px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.plan.featured .plan-tag { border-color: var(--accent); color: var(--accent); }
.plan-for { color: var(--muted); font-size: 14px; line-height: 20px; }
@media (min-width: 961px) { .plan-for { min-height: 40px; } }
.price { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink-2); }
.plan ul { margin: 0; padding-left: 16px; color: var(--ink-2); font-size: 14px; line-height: 20px; display: flex; flex-direction: column; gap: 8px; }
.plan .btn { margin-top: auto; }

/* Reliability */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > div:first-child { flex: 1 1 340px; }
.split .points { flex: 2 1 560px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; font-size: 14px; line-height: 20px; }
.points b { display: block; margin-bottom: 4px; font-weight: 600; font-size: 16px; line-height: 24px; }
.points span { color: var(--muted); }

/* FAQ */
.faq { margin-top: 32px; }
details { border-top: 1px solid var(--line); padding: 24px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 18px; line-height: 28px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-size: 24px; line-height: 28px; transition: transform 500ms var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--muted); max-width: 760px; }

/* Contact */
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact > div { flex: 1 1 380px; }
.contact h2 { margin-bottom: 12px; }
.contact form { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.contact label { font-size: 14px; line-height: 20px; color: var(--ink-2); font-weight: 500; }
.contact input, .contact textarea, .contact select {
  display: block; width: 100%; margin-top: 8px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--ground); color: var(--ink); padding: 12px 16px; font: 16px/24px var(--font);
  transition: border-color 500ms var(--ease);
}
.contact textarea { min-height: 96px; resize: vertical; }
.contact select { appearance: none; cursor: pointer; padding-right: 40px; 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 1l5 5 5-5' fill='none' stroke='%23a8a294' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.contact select option { background: #1f1e1a; color: #f4f1ea; }
.contact input:focus, .contact textarea:focus, .contact select:focus { outline: none; border-color: var(--accent); }
.contact input[aria-invalid="true"] { border-color: #f87171; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; line-height: 20px; min-height: 20px; }
.form-note.ok { color: #4ade80; }
.form-note.err { color: #f87171; }

.site-footer { border-top: 1px solid var(--line); margin-top: 96px; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; line-height: 20px; color: var(--faint); }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.site-footer a, .link-button { color: var(--faint); }
.link-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.link-button:hover { color: var(--ink); }

/* The legal pages: one readable column. */
.legal { max-width: 768px; padding-top: 64px; }
.legal h1 { font-size: 36px; line-height: 40px; margin-bottom: 32px; }
.legal h2 { font-size: 20px; line-height: 28px; margin: 40px 0 12px; }
.legal p { color: var(--ink-2); margin: 0 0 12px; text-wrap: pretty; }

/* The cookie notice: a card at the foot of the screen until answered; reopened from the footer. */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 16px; padding: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5); font-size: 14px; line-height: 20px; color: var(--ink-2);
  transform: translateY(0); opacity: 1; transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}
.consent[hidden] { display: none; }
.consent.leaving { transform: translateY(24px); opacity: 0; }
.consent p { margin: 0 0 12px; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.site-footer a:hover { color: var(--ink); }

/* Scroll reveal: a gentle, heavy fade up, set going by site.js. Without JS nothing is hidden. */
.js .reveal, .js .grid3 > *, .js .grid4 > *, .js .steps > *, .js .points > * {
  opacity: 0; transform: translateY(64px); filter: blur(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.js .in { opacity: 1 !important; transform: none !important; filter: none !important; }

@media (max-width: 960px) {
  .preview { display: none; }
  .nav { display: none; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3, .grid4, .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split .points { grid-template-columns: 1fr; }
  .tagline-text { font-size: 36px; line-height: 40px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .island { gap: 8px; padding: 6px 6px 6px 12px; }
  .logo span { font-size: 16px; }
  .logo svg { width: 22px; height: 22px; }
  .lang a { padding: 4px 6px; font-size: 13px; }
  .island .btn { padding: 8px 12px; font-size: 13px; }
  .site-header { padding: 12px 12px 0; }
  .hero { padding-top: 48px; padding-bottom: 64px; }
  .hero h1 { font-size: 36px; line-height: 40px; }
  .lead { font-size: 16px; line-height: 24px; }
  .actions .btn { flex: 1 1 100%; }
  .section { padding-top: 64px; }
  .section h2 { font-size: 30px; line-height: 36px; }
  .subhead { font-size: 24px !important; line-height: 32px !important; }
  .section .intro { font-size: 16px; line-height: 24px; margin-bottom: 32px; }
  .side, .card, .step { padding: 24px; }
  .contact { padding: 24px; border-radius: 16px; }
  .tagline-text { font-size: 30px; line-height: 36px; }
  .site-footer { margin-top: 64px; }
  .footer-links { margin-left: 0; }
  .legal { padding-top: 48px; }
  .legal h1 { font-size: 30px; line-height: 36px; }
  .consent-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 374px) {
  .logo span { font-size: 14px; }
  .lang a { padding: 4px; }
  .island .btn { padding: 8px 10px; font-size: 12px; }
}
@media (max-width: 330px) {
  .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal, .js .grid3 > *, .js .grid4 > *, .js .steps > *, .js .points > * { opacity: 1; transform: none; filter: none; }
  .tagline-text .w { color: var(--ink); }
}
