/*
Theme Name: FastTony LP
Theme URI: https://fasttony.com/
Author: Codelupo
Description: Jednostronicowy landing page FastTony odwzorowany z projektu, z pełną responsywnością desktop/mobile.
Version: 1.0.0
Text Domain: fasttony-lp
*/

:root {
  --ft-paper: #fcfcfd;
  --ft-ink: #1b1d21;
  --ft-navy: #17296f;
  --ft-graphite: #7f8187;
  --ft-border: #dedfe2;
  --ft-muted: #6b6e75;
  --ft-max: 1280px;
  --ft-pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fasttony-lp {
  margin: 0;
  background: var(--ft-paper);
  color: var(--ft-ink);
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  -webkit-font-smoothing: antialiased;
}
body.fasttony-lp.admin-bar .ft-header { top: 32px; }
@media (max-width: 782px) { body.fasttony-lp.admin-bar .ft-header { top: 46px; } }

.fasttony-lp a { color: inherit; text-decoration: none; }
.fasttony-lp img { display: block; max-width: 100%; height: auto; }
.fasttony-lp h1,.fasttony-lp h2,.fasttony-lp h3,.fasttony-lp p { margin-top: 0; }
.fasttony-lp h1,.fasttony-lp h2,.fasttony-lp h3 {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.ft-wrap { width: min(var(--ft-max), 100%); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ft-section { border-top: 1px solid var(--ft-border); padding: 64px 0 96px; overflow: hidden; }
.ft-grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; align-items: center; }
.ft-muted { color: var(--ft-muted); }
.ft-copy { font-size: 14px; line-height: 1.75; max-width: 560px; }
.ft-title { font-size: clamp(38px,4vw,52px); margin-bottom: 24px; }
.ft-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ft-navy); color: var(--ft-paper);
  padding: 8px 16px; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.ft-tag::before { content:""; width:10px; height:10px; background:var(--ft-paper); }
.ft-eyebrow { font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--ft-graphite); line-height:1.45; }
.ft-btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:12px 24px; border:2px solid var(--ft-ink);
  font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  line-height:1; white-space:nowrap;
  text-decoration:none !important;
  transition: .2s ease; cursor:pointer;
}

/* Keep CTA colours isolated from the active WordPress theme. */
.fasttony-lp a.ft-btn--primary,
.fasttony-lp a.ft-btn--primary:link,
.fasttony-lp a.ft-btn--primary:visited,
.fasttony-lp a.ft-btn--primary:hover,
.fasttony-lp a.ft-btn--primary:focus,
.fasttony-lp a.ft-btn--primary:active {
  background:var(--ft-navy) !important;
  color:var(--ft-paper) !important;
  border-color:var(--ft-navy) !important;
}
.fasttony-lp a.ft-btn--primary span,
.fasttony-lp a.ft-btn--primary i,
.fasttony-lp a.ft-btn--primary strong {
  color:inherit !important;
}
.fasttony-lp a.ft-btn--primary:hover { opacity:.88; }

.fasttony-lp a.ft-btn--outline,
.fasttony-lp a.ft-btn--outline:link,
.fasttony-lp a.ft-btn--outline:visited {
  background:transparent !important;
  color:var(--ft-ink) !important;
  border-color:var(--ft-ink) !important;
}
.fasttony-lp a.ft-btn--outline:hover,
.fasttony-lp a.ft-btn--outline:focus {
  background:var(--ft-ink) !important;
  color:var(--ft-paper) !important;
}

/* Header */
.ft-header { position:sticky; top:0; z-index:50; border-bottom:1px solid var(--ft-border); background:rgba(252,252,253,.96); backdrop-filter:blur(10px); }
.ft-header__in { min-height:66px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.ft-brand { display:flex; align-items:center; gap:11px; font-size:16px; font-weight:800; white-space:nowrap; }
.ft-brand__os { color:var(--ft-muted); font-weight:500; }
.ft-mark { display:grid; grid-template-columns:repeat(2,12px); gap:2px; }
.ft-mark i { width:12px; height:12px; display:block; }
.ft-mark i:nth-child(1),.ft-mark i:nth-child(4) { background:var(--ft-navy); }
.ft-mark i:nth-child(2),.ft-mark i:nth-child(3) { background:var(--ft-graphite); }
.ft-nav { display:flex; gap:32px; margin-left:auto; font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.ft-nav a:hover { color:var(--ft-navy); }
.ft-header .ft-btn { min-height:38px; padding:9px 16px; font-size:11px; }

/* Hero */
.ft-hero { border-bottom:1px solid var(--ft-border); overflow:hidden; }
.ft-hero__grid { width:min(var(--ft-max),100%); margin:0 auto; display:grid; grid-template-columns:5fr 7fr; }
.ft-hero__image { position:relative; min-height:730px; }
.ft-hero__image img { width:100%; height:100%; object-fit:cover; }
.ft-hero__content { display:flex; flex-direction:column; min-width:0; }
.ft-hero__intro { background:var(--ft-navy); color:var(--ft-paper); padding:44px 48px; }
.ft-hero__intro p { margin:0; font-size:13px; line-height:1.7; max-width:640px; }
.ft-hero__main { flex:1; display:flex; flex-direction:column; justify-content:space-between; padding:48px 48px 38px; }
.ft-hero h1 { font-size:clamp(56px,5.2vw,76px); line-height:1.02; margin-bottom:42px; }
.ft-hero__bottom { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }
.ft-hero__buttons { display:flex; flex-wrap:wrap; gap:12px; }
.ft-hero__eyebrow { max-width:270px; text-align:right; }

/* Pixel decorations */
.ft-pixel-corner { position:absolute; display:grid; grid-template-columns:repeat(4,12px); grid-auto-rows:12px; gap:3px; }
.ft-pixel-corner i { display:block; }
.ft-pixel-corner .n { background:var(--ft-navy); }
.ft-pixel-corner .g { background:var(--ft-graphite); }
.ft-pixel-corner--tl { top:16px; left:16px; }
.ft-pixel-corner--br { right:-10px; bottom:-10px; }
.ft-pixel-corner--bl { left:-10px; bottom:-10px; }
.ft-mosaic-wrap { width:min(var(--ft-max),100%); margin:0 auto; overflow:hidden; }
.ft-mosaic-wrap--pad { padding-left:24px; padding-right:24px; }
.ft-mosaic { --sq:28px; display:grid; grid-auto-rows:var(--sq); gap:4px; width:max-content; min-width:100%; }
.ft-mosaic i { display:block; }
.ft-mosaic .n { background:var(--ft-navy); }
.ft-mosaic .g { background:var(--ft-graphite); }
.ft-mosaic .w { background:transparent; }
.ft-mosaic--dark .n { background:var(--ft-paper); }
.ft-mosaic--dark .g { background:rgba(252,252,253,.38); }

/* Market */
.ft-market__grid { display:grid; grid-template-columns:1fr 2fr; gap:48px; margin-top:56px; }
.ft-market__cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--ft-border); }
.ft-card { position:relative; background:var(--ft-paper); padding:28px 24px 30px; min-height:230px; }
.ft-card h3 { font-size:20px; margin:18px 0 14px; }
.ft-card p { font-size:13px; line-height:1.7; color:var(--ft-muted); margin:0; }
.ft-dots { position:absolute; right:14px; top:14px; display:grid; grid-template-columns:repeat(3,8px); gap:3px; }
.ft-dots i { width:8px; height:8px; background:var(--ft-navy); }
.ft-dots i:nth-child(2) { background:var(--ft-graphite); }

/* Promise */
.ft-promise .ft-grid-2 { margin-top:48px; }
.ft-stats-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:32px; }
.ft-stat { border-left:2px solid var(--ft-navy); padding-left:12px; min-width:0; }
.ft-stat__k { font-size:24px; font-weight:800; letter-spacing:-.04em; white-space:nowrap; }
.ft-media { position:relative; }
.ft-media img { width:100%; }

/* Layers */
.ft-layers { position:relative; background:var(--ft-navy); color:var(--ft-paper); padding:96px 0; overflow:hidden; }
.ft-layers .ft-mosaic-wrap { position:absolute; top:0; left:50%; transform:translateX(-50%); padding:0 24px; }
.ft-layers__in { position:relative; padding-top:82px; }
.ft-light-tag { display:inline-flex; align-items:center; gap:9px; background:var(--ft-paper); color:var(--ft-navy); padding:7px 12px; font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.ft-light-tag::before { content:""; width:8px; height:8px; background:var(--ft-navy); }
.ft-layers__lead { max-width:680px; }
.ft-layers__lead p { opacity:.8; }
.ft-layers__cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:rgba(252,252,253,.2); margin-top:46px; }
.ft-layer { position:relative; padding:34px 30px; min-height:245px; background:var(--ft-navy); }
.ft-layer h3 { font-size:24px; margin:18px 0 16px; }
.ft-layer p { font-size:13px; line-height:1.7; opacity:.82; margin:0; }
.ft-layer .ft-eyebrow { color:rgba(252,252,253,.68); }
.ft-layer .ft-dots i { background:var(--ft-paper); }
.ft-layer .ft-dots i:nth-child(2) { background:rgba(252,252,253,.35); }

/* Loop */
.ft-loop .ft-grid-2 { margin-top:48px; }
.ft-loopviz { position:relative; aspect-ratio:1/1; width:min(100%,470px); margin-left:auto; }
.ft-loopstep { position:absolute; width:84px; height:84px; transform:translate(-50%,-50%); display:flex; align-items:center; justify-content:center; text-align:center; background:var(--ft-navy); color:var(--ft-paper); font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.ft-loopstep--1 { left:50%; top:7%; }
.ft-loopstep--2 { left:90%; top:37%; }
.ft-loopstep--3 { left:75%; top:84%; }
.ft-loopstep--4 { left:25%; top:84%; }
.ft-loopstep--5 { left:10%; top:37%; }
.ft-loopcore { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:132px; height:132px; border:2px solid var(--ft-ink); display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; text-align:center; }

/* Traction */
.ft-traction__grid { display:grid; grid-template-columns:1fr 1.4fr; gap:48px; margin-top:56px; }
.ft-traction__stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; background:var(--ft-border); }
.ft-metric { position:relative; background:var(--ft-paper); padding:32px 20px 26px; }
.ft-metric__k { font-size:clamp(30px,3vw,42px); font-weight:800; letter-spacing:-.05em; color:var(--ft-navy); }
.ft-mini-mark { position:absolute; top:12px; left:12px; display:grid; grid-template-columns:repeat(2,6px); gap:2px; }
.ft-mini-mark i { width:6px; height:6px; background:var(--ft-navy); }
.ft-mini-mark i:nth-child(2),.ft-mini-mark i:nth-child(3) { background:var(--ft-graphite); }

/* Case */
.ft-case .ft-grid-2 { margin-top:48px; }
.ft-case__stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--ft-border); margin-top:32px; }
.ft-case__stat { background:var(--ft-paper); padding:18px 16px; }
.ft-case__stat strong { display:block; color:var(--ft-navy); font-size:24px; letter-spacing:-.04em; margin-bottom:6px; }

/* CTA */
.ft-cta { background:var(--ft-ink); color:var(--ft-paper); padding:64px 0 92px; overflow:hidden; }
.ft-cta__grid { display:grid; grid-template-columns:2fr 1fr; gap:52px; align-items:end; margin-top:48px; }
.ft-cta h2 { font-size:clamp(44px,5vw,64px); margin:0; }
.ft-cta p { font-size:13px; line-height:1.75; opacity:.8; }
.fasttony-lp .ft-cta a.ft-btn,
.fasttony-lp .ft-cta a.ft-btn:link,
.fasttony-lp .ft-cta a.ft-btn:visited,
.fasttony-lp .ft-cta a.ft-btn:hover,
.fasttony-lp .ft-cta a.ft-btn:focus,
.fasttony-lp .ft-cta a.ft-btn:active {
  background:var(--ft-paper) !important;
  color:var(--ft-ink) !important;
  border-color:var(--ft-paper) !important;
  margin-top:16px;
}
.fasttony-lp .ft-cta a.ft-btn:hover { opacity:.88; }

/* Footer */
.ft-footer { border-top:1px solid var(--ft-border); padding:36px 0; }
.ft-footer__in { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.ft-footer__brand { display:flex; align-items:center; gap:10px; font-size:13px; }

/* Responsive */
@media (max-width: 980px) {
  .ft-nav { display:none; }
  .ft-hero__grid { grid-template-columns:1fr; }
  .ft-hero__image { min-height:auto; aspect-ratio:16/10; }
  .ft-hero__intro { padding:34px 32px; }
  .ft-hero__main { padding:38px 32px 34px; }
  .ft-hero h1 { font-size:clamp(48px,9vw,68px); }
  .ft-market__grid,.ft-traction__grid { grid-template-columns:1fr; }
  .ft-grid-2 { gap:40px; }
  .ft-traction__stats { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 700px) {
  .ft-wrap,.ft-mosaic-wrap--pad { padding-left:20px; padding-right:20px; }
  .ft-header__in { min-height:60px; }
  .ft-header .ft-btn { padding:8px 11px; font-size:10px; letter-spacing:.08em; }
  .ft-brand { font-size:14px; gap:8px; }
  .ft-brand__os { display:none; }
  .ft-mark { grid-template-columns:repeat(2,10px); }
  .ft-mark i { width:10px; height:10px; }
  .ft-section { padding:48px 0 68px; }
  .ft-title { font-size:36px; }
  .ft-copy { font-size:13px; }
  .ft-hero__image { aspect-ratio:1/1; }
  .ft-hero__intro { padding:28px 24px; }
  .ft-hero__intro p { font-size:12px; }
  .ft-hero__main { padding:32px 24px 30px; }
  .ft-hero h1 { font-size:clamp(42px,12vw,54px); margin-bottom:32px; }
  .ft-hero__bottom { align-items:flex-start; flex-direction:column; }
  .ft-hero__buttons { width:100%; flex-direction:column; }
  .ft-hero__buttons .ft-btn { width:100%; }
  .ft-hero__eyebrow { max-width:none; text-align:left; }
  .ft-mosaic { --sq:18px; gap:3px; }
  .ft-mosaic-wrap--pad { padding-left:20px; padding-right:20px; }
  .ft-market__grid,.ft-promise .ft-grid-2,.ft-loop .ft-grid-2,.ft-case .ft-grid-2,.ft-cta__grid { grid-template-columns:1fr; gap:36px; margin-top:38px; }
  .ft-market__cards,.ft-layers__cards { grid-template-columns:1fr; }
  .ft-card,.ft-layer { min-height:auto; }
  .ft-stats-row { grid-template-columns:1fr; gap:14px; }
  .ft-stat { padding-top:2px; padding-bottom:2px; }
  .ft-layers { padding:62px 0 72px; }
  .ft-layers__in { padding-top:62px; }
  .ft-loopviz { width:min(100%,360px); margin:14px auto 0; }
  .ft-loopstep { width:70px; height:70px; font-size:9px; }
  .ft-loopcore { width:108px; height:108px; font-size:9px; }
  .ft-traction__stats { grid-template-columns:repeat(2,1fr); }
  .ft-metric { min-height:126px; }
  .ft-case__stats { grid-template-columns:1fr; }
  .ft-cta { padding:48px 0 68px; }
  .ft-cta h2 { font-size:40px; }
  .ft-footer__in { flex-direction:column; align-items:flex-start; }
  .ft-footer__brand { flex-wrap:wrap; }
}

@media (max-width: 380px) {
  .ft-header .ft-btn { padding:8px 9px; }
  .ft-header .ft-btn span { display:none; }
  .ft-hero h1 { font-size:39px; }
  .ft-title { font-size:33px; }
  .ft-traction__stats { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .ft-section[id], .ft-hero[id] { scroll-margin-top:80px; }
  .ft-card,.ft-layer,.ft-metric,.ft-btn { transition:transform .2s ease, opacity .2s ease, background-color .2s ease, color .2s ease; }
  .ft-card:hover,.ft-metric:hover { transform:translateY(-2px); }
}
