/* ============================================================
   Foxford GPT — landing
   Fonts: Circe (text/UI), TT Foxford ExtraBold (display headings);
   hero headline is a pre-rendered image
   ============================================================ */

@font-face{
  font-family:"TT Foxford";
  src:url("assets/fonts/TTFoxfordExtraBold.woff2") format("woff2");
  font-weight:800;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Circe";
  src:url("assets/fonts/circe_regular.woff2") format("woff2");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Circe";
  src:url("assets/fonts/circe_bold.woff2") format("woff2");
  font-weight:700;font-style:normal;font-display:swap;
}

:root{
  --ink:#1d1d22;
  --ink-btn:#242428;
  --violet:#7c3bee;
  --violet-num:#7a42ef;
  --violet-bg:#f0e9fd;
  --line:#f1f1f5;
  --pill:999px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:84px;}
body{
  margin:0;
  font-family:"Circe",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  font-size:17px;
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{margin:0;}
.wrap{width:min(1018px,calc(100% - 64px));margin:0 auto;}

/* buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:var(--pill);font-weight:700;white-space:nowrap;
  -webkit-text-stroke:.3px currentColor;
  transition:transform .12s ease,background .15s ease,box-shadow .15s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn-dark{background:var(--ink-btn);color:#fff;}
.btn-dark:hover{background:#000;}
.btn-outline{background:#fff;color:var(--ink);border:2px solid #2c2c31;}
.btn-outline:hover{background:#f6f6f8;}
.spark{width:19px;height:18px;margin-left:9px;fill:#fff;}
.sr-only{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;
  clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;
}

/* ===== header ===== */
.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;}
.header__row{display:flex;align-items:center;height:68px;}
.logo{
  font-family:"TT Foxford","Circe",sans-serif;font-weight:800;font-size:16.5px;
  letter-spacing:.4px;color:#151519;padding-top:2px;
  display:inline-flex;align-items:center;gap:9px;
}
.logo__mark{width:30px;height:30px;border-radius:9px;display:block;margin-top:-2px;}
.logo--footer .logo__mark{width:26px;height:26px;border-radius:8px;}
.nav{display:flex;gap:28px;margin-left:66px;margin-top:3px;}
.nav a{font-size:13px;color:#7b7c82;}
.nav a:hover{color:var(--violet);}
.header__cta{margin-left:auto;height:41px;padding:2px 15px 0 21px;font-size:14px;}
.header__cta .spark{width:19px;height:18px;margin-left:8px;margin-top:-2px;}

/* ===== hero ===== */
.hero{overflow:hidden;}
.hero__inner{position:relative;min-height:451px;}
.hero__art{position:absolute;top:9px;right:-52px;width:652px;pointer-events:none;}
.hero__content{position:relative;z-index:2;padding-top:48px;}
.badge{
  display:flex;width:fit-content;align-items:center;gap:8px;height:30px;
  background:var(--violet-bg);border-radius:var(--pill);padding:0 13px 0 11px;
}
.badge__ic{width:21px;height:21px;}
.badge span{
  font-size:10px;font-weight:700;letter-spacing:.2px;color:var(--violet);
  text-transform:uppercase;padding-top:1px;
}
.hero__title-img{width:482px;margin:10px 0 0 -2px;}
.hero__title-img--mobile{display:none;}
.hero__sub{color:#57575e;font-size:16px;line-height:1.55;margin:4px 0 0 4px;}
.hero__actions{display:flex;gap:20px;margin-top:27px;}
.btn-lg{height:52px;font-size:14px;letter-spacing:-.2px;}
.btn-lg.btn-dark{padding:2px 21px 0 20px;}
.btn-lg.btn-outline{padding:2px 23px 0 16px;}
.btn-lg .chrome{width:29px;height:29px;margin-right:8px;margin-top:-2px;display:block;}
.btn-lg .chrome svg,.btn-lg .chrome img{width:100%;height:100%;display:block;}
.btn-lg .bubble{width:34px;height:42px;margin-right:8px;margin-top:-2px;}

/* ===== benefits strip ===== */
.stripe{position:relative;z-index:3;margin-top:2px;}
.strip{
  background:#fff;border:1px solid #f2f2f6;border-radius:20px;height:88px;
  box-shadow:0 14px 34px rgba(35,35,70,.07);
  display:grid;grid-template-columns:31% 33% 36%;align-items:center;
}
.strip__item{display:flex;align-items:center;gap:15px;padding-left:78px;}
.strip__item:nth-child(2){padding-left:71px;}
.strip__item:nth-child(3){padding-left:58px;}
.strip__ic{width:63px;height:63px;flex:none;}
.strip__item > div{padding-top:4px;}
.strip__t{font-size:15.5px;font-weight:700;color:#111114;line-height:1.2;letter-spacing:.3px;-webkit-text-stroke:.35px currentColor;}
.strip__t--violet{color:#7440f0;}
.strip__d{font-size:12.5px;color:#55555a;line-height:1.4;margin-top:3px;}

/* ===== feature cards ===== */
.features{margin-top:30px;}
.fgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.fcard{
  position:relative;height:282px;border-radius:24px;overflow:hidden;
  padding:15px 20px 0 20px;isolation:isolate;
}
.fcard h3{
  font-family:"TT Foxford","Circe",sans-serif;font-weight:800;
  font-size:19.5px;color:#fff;line-height:1.06;letter-spacing:.2px;
  position:relative;z-index:2;padding-top:4px;
}
.fcard p{
  font-size:12.5px;line-height:1.42;color:rgba(255,255,255,.97);
  margin:8px 0 0;position:relative;z-index:2;max-width:185px;
}
.fcard__art{position:absolute;z-index:1;pointer-events:none;}
.fcard__art--robot{left:18px;bottom:-20px;height:228px;}
.fcard__art--browser{left:50%;transform:translateX(-50%);bottom:0;width:190px;filter:drop-shadow(0 16px 22px rgba(50,20,120,.35));}
.fcard__art--clip{left:50%;transform:translateX(-54%);bottom:0;height:200px;filter:drop-shadow(0 14px 20px rgba(30,90,140,.25));}
.fcard__art--calendar{left:50%;transform:translateX(-48%);bottom:-14px;height:196px;filter:drop-shadow(0 14px 20px rgba(50,110,30,.28));}
.fcard--orange{background:linear-gradient(133deg,#fd742e 0%,#fe8f44 45%,#ffcd80 100%);}
.fcard--violet{background:linear-gradient(190deg,#7439ee 0%,#8a55f2 55%,#c9acfa 100%);}
.fcard--blue{background:linear-gradient(130deg,#79e1fd 0%,#98e7fd 55%,#c9f2fe 100%);}
.fcard--green{background:linear-gradient(205deg,#6fcd45 0%,#8ad84f 45%,#c9ed76 100%);}

/* ===== how it works ===== */
.how{margin-top:26px;}
.how__title{
  font-family:"TT Foxford","Circe",sans-serif;font-weight:800;
  font-size:21px;color:#161617;text-align:center;letter-spacing:.3px;
}
.hgrid{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:33px;margin-top:8px;}
.hcard{
  position:relative;height:132px;background:#fff;border:1px solid #ededf3;
  border-radius:18px;padding:14px 13px;
  box-shadow:0 8px 20px rgba(40,40,90,.04);
}
.hcard__head{display:flex;align-items:flex-start;gap:9px;}
.hcard__num{
  flex:none;width:26px;height:26px;border-radius:50%;background:var(--violet-num);
  color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;
  justify-content:center;padding-top:2px;
}
.hcard__t{font-size:12.5px;font-weight:700;line-height:1.28;color:#18181a;padding-top:2px;-webkit-text-stroke:.25px currentColor;}
.hcard p{font-size:12.5px;color:#4d4d52;line-height:1.42;margin:10px 0 0;}

/* mini browser mockups */
.mock{
  position:absolute;top:8px;right:8px;width:128px;height:106px;
  background:#fff;border:1px solid #ececf2;border-radius:9px;
  box-shadow:0 8px 18px rgba(45,45,95,.08);
}
.mock--2{width:138px;top:10px;}
.mock--3{width:130px;}
.mock__bar{
  height:16px;display:flex;align-items:center;gap:4px;padding:0 9px;
  border-bottom:1px solid #f1f1f5;
}
.d{width:6px;height:6px;border-radius:50%;}
.d--r{background:#f2635a;}
.d--y{background:#f5be4f;}
.d--g{background:#53c458;}
.mock__panel{
  position:relative;margin:6px;height:calc(100% - 29px);
  background:#fbfbfd;border:1px solid #f1f1f4;border-radius:6px;padding:7px 9px;
}
.mock__label{font-size:10px;font-weight:700;color:#3a3a40;margin-bottom:6px;}
.mock__labelrow{display:flex;align-items:center;gap:9px;margin-bottom:6px;}
.mock__labelrow .mock__label{margin-bottom:0;}
.mock__row{height:7px;background:#e9e9ee;border-radius:4px;margin-top:6px;}
.mock__q{
  position:absolute;right:9px;top:26px;width:27px;height:27px;border-radius:50%;
  background:linear-gradient(180deg,#8a67f5,#6e46ee);color:#fff;font-weight:700;
  font-size:14px;display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 9px rgba(110,70,238,.28);padding-bottom:2px;
}
.mock__body{position:relative;height:calc(100% - 17px);}
.mock__foxpanel{
  position:absolute;inset:6px;background:#fdfdfe;border:1px solid #f1f1f4;
  border-radius:6px;display:flex;align-items:flex-end;justify-content:center;
}
.mock__fox{width:60px;margin-bottom:2px;}
.mock__fox--logo{width:52px;height:52px;border-radius:13px;margin-bottom:0;align-self:center;}
.mock__check{width:20px;height:20px;filter:drop-shadow(0 2px 5px rgba(40,140,60,.35));}
.mock__check--tr{position:absolute;right:10px;top:7px;}
.mock__cursor{position:absolute;right:16px;bottom:0;width:30px;height:33px;}
.mock__cursor--edge{right:-5px;top:52px;bottom:auto;width:16px;height:18px;}
.harrow{position:absolute;width:36px;top:64px;}
.harrow--1{left:310px;}
.harrow--2{left:659px;}

/* ===== CTA banner ===== */
.cta{margin-top:23px;}
.cta__box{
  position:relative;height:140px;border-radius:24px;
  background:
    radial-gradient(115% 190% at 103% 115%, #cda9ff 0%, rgba(205,169,255,0) 52%),
    radial-gradient(55% 95% at 58% 122%, rgba(190,150,252,.5) 0%, rgba(190,150,252,0) 70%),
    radial-gradient(60% 120% at 92% -30%, rgba(190,150,255,.45) 0%, rgba(190,150,255,0) 60%),
    linear-gradient(97deg,#7640ee 0%,#7b44f1 55%,#a97cfb 100%);
}
.cta__text{padding:22px 0 0 58px;position:relative;z-index:2;}
.cta__text h2{
  font-family:"TT Foxford","Circe",sans-serif;font-weight:800;
  font-size:22px;color:#fff;line-height:1.36;letter-spacing:.2px;
}
.cta__text p{font-size:14px;color:rgba(255,255,255,.95);line-height:1.4;margin:5px 0 0;}
.cta__pop{position:absolute;left:330px;bottom:6px;height:122px;z-index:1;pointer-events:none;}
.cta__btn{
  position:absolute;left:475px;top:48px;width:260px;height:54px;padding-top:2px;
  font-size:16px;z-index:2;
}
.cta__btn .spark{width:24px;height:23px;margin-left:10px;margin-top:-2px;}
.cta__icons{position:absolute;right:30px;top:-12px;height:148px;z-index:1;pointer-events:none;}

/* ===== footer (dark, like the original foxford.ru footer) ===== */
.footer{background:#24262c;margin-top:23px;padding:27px 0 29px;color:#c7c8d2;}
.footer__row{display:flex;align-items:center;}
.footer__brand .logo{font-size:14.5px;color:#fff;}
.footer__sub{font-size:12px;color:#a9aab6;margin-top:5px;}
.footer__nav{display:flex;gap:30px;margin-left:104px;}
.footer__nav a{font-size:12px;color:#b6b7c4;}
.footer__nav a:hover{color:#fff;}
.footer__copy{margin-left:auto;font-size:11.5px;color:#84858f;line-height:1.6;text-align:right;}
.footer__soc{display:flex;gap:21px;margin-left:28px;margin-right:-3px;}
.footer__soc img{width:42px;height:42px;display:block;}

/* ============================================================
   Responsive
   ============================================================ */
@media(max-width:1080px){
  .nav{display:none;}
  .hero__inner{min-height:0;padding-bottom:6px;display:flex;flex-direction:column;}
  .hero__art{position:static;width:min(652px,100%);margin:26px auto 0;order:2;}
  .hero__content{padding-top:34px;min-width:0;max-width:100%;}
  .hero__title-img{max-width:100%;height:auto;}
  .strip{grid-template-columns:1fr 1fr 1fr;height:auto;padding:20px 0;}
  .strip__item{padding-left:24px !important;}
  .fgrid{grid-template-columns:1fr 1fr;}
  .hgrid{grid-template-columns:1fr;gap:16px;}
  .hcard{height:auto;min-height:140px;}
  .harrow{display:none;}
  .cta__box{height:auto;display:flex;flex-direction:column;align-items:flex-start;gap:18px;overflow:hidden;padding:30px 0 150px;}
  .cta__text{padding-top:0;padding-left:34px;}
  .cta__pop{display:none;}
  .cta__icons{top:auto;bottom:0;height:130px;}
  .cta__btn{position:static;margin-left:34px;}
}

@media(max-width:760px){
  .wrap{width:calc(100% - 40px);}
  body{font-size:16px;}

  /* header */
  .header__row{height:60px;}
  .logo{font-size:17px;}
  .header__cta{height:40px;padding:2px 14px 0 18px;font-size:13px;}

  /* hero: centered composition */
  .hero__content{padding-top:26px;display:flex;flex-direction:column;align-items:center;text-align:center;}
  .badge{height:32px;}
  .hero__title-img--desktop{display:none;}
  .hero__title-img--mobile{display:block;}
  .hero__title-img{width:min(482px,100%);margin:16px 0 0;}
  .hero__sub{font-size:16px;line-height:1.6;margin:14px 0 0;max-width:330px;}
  .hero__sub br{display:none;}
  .hero__actions{flex-direction:column;align-items:stretch;width:100%;max-width:420px;margin-top:24px;gap:12px;}
  .hero__actions .btn{width:100%;height:54px;font-size:15px;}
  .hero__art{margin:30px auto 0;}

  /* strip: vertical list with dividers */
  .strip{grid-template-columns:1fr;gap:0;padding:6px 0;}
  .strip__item{padding:16px 20px !important;}
  .strip__item + .strip__item{border-top:1px solid #f2f2f6;}
  .strip__item > div{padding-top:0;}
  .strip__ic{width:54px;height:54px;}
  .strip__t{font-size:16px;}
  .strip__d{font-size:13.5px;margin-top:4px;}
  .strip__d br{display:none;}

  /* feature cards */
  .features{margin-top:36px;}
  .fgrid{grid-template-columns:1fr;gap:16px;}
  .fcard{max-width:440px;width:100%;margin:0 auto;height:auto;padding:24px 22px 0;}
  .fcard h3{font-size:21px;line-height:1.12;}
  .fcard h3 br{display:none;}
  .fcard p{font-size:14.5px;max-width:290px;margin-top:10px;line-height:1.45;}
  .fcard p br{display:none;}
  .fcard__art{position:static;transform:none;margin:18px auto 0;}
  .fcard__art--robot{height:auto;width:60%;margin-bottom:-16px;}
  .fcard__art--browser{width:72%;margin-bottom:26px;}
  .fcard__art--clip{height:auto;width:62%;margin-bottom:-18px;}
  .fcard__art--calendar{width:64%;height:auto;margin-bottom:-18px;}

  /* how it works */
  .how{margin-top:42px;}
  .how__title{font-size:20px;}
  .hgrid{margin-top:16px;gap:12px;}
  .hcard{padding:18px 150px 18px 16px;min-height:146px;display:flex;flex-direction:column;justify-content:center;}
  .hcard__t{font-size:14px;}
  .hcard p{font-size:13.5px;max-width:100%;margin-top:8px;}
  .hcard p br{display:none;}
  .mock{top:50%;transform:translateY(-50%);right:10px;}

  /* CTA: centered */
  .cta{margin-top:40px;}
  .cta__box{gap:0;padding:30px 22px 0;align-items:center;text-align:center;}
  .cta__text{padding:0;}
  .cta__text h2{font-size:21px;}
  .cta__text p{font-size:14.5px;margin-top:8px;}
  .cta__btn{position:static;width:100%;max-width:380px;height:54px;margin:22px 0 0;}
  .cta__icons{position:static;height:112px;margin:10px auto 0;}

  /* footer */
  .footer{margin-top:36px;padding:32px 0 30px;}
  .footer__row{flex-direction:column;gap:18px;text-align:center;}
  .footer__brand .logo{font-size:16px;}
  .footer__sub{font-size:13px;}
  .footer__nav{margin-left:0;flex-wrap:wrap;justify-content:center;gap:14px 26px;}
  .footer__nav a{font-size:13.5px;padding:4px 0;display:inline-block;}
  .footer__copy{margin-left:0;text-align:center;font-size:12.5px;}
  .footer__soc{margin-left:0;margin-right:0;}
  .footer__soc img{width:44px;height:44px;}
}

@media(max-width:420px){
  .logo{font-size:15.5px;}
  .header__cta{font-size:12px;padding:2px 11px 0 14px;height:36px;}
  .header__cta .spark{width:14px;height:13px;margin-left:6px;}
  .hcard{padding-right:138px;}
  .mock{width:118px;}
  .mock--2{width:124px;}
  .mock--3{width:120px;}
}
