/* The new DevTonic About page (design A, Hamza's pick, 4 Nov 2026). One page family with the new home, PriceWise,
   ConfigKit and Craftor pages: family-v1.css gives the buttons, headings, small labels and the closing band; this
   file gives the About page its own parts. Everything stays inside main.ab2. No lines, no underlines, no arrows;
   filled buttons; backgrounds only bluish white, white and electric blue, never two alike in a row. */

.ab2{--ab-ink:#001429;--ab-ink-2:#081f3c;--ab-text:#41566f;--ab-blue:#0066ff;--ab-blue-2:#0050d8;--ab-pale:#e6efff;
  --ab-soft:#eef4ff;--ab-bw:oklch(0.97122 0.013643 258.345);--ab-white:#fff;
  --ab-lift:0 1px 3px rgba(10,25,41,.06),0 8px 24px -16px rgba(10,25,41,.18);
  --ab-lift-blue:0 1px 3px rgba(0,20,80,.14),0 8px 24px -16px rgba(0,20,80,.38);
  display:block;margin:0;padding:0;font-family:Inter,system-ui,sans-serif;color:var(--ab-ink-2);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.ab2 *,.ab2 *::before,.ab2 *::after{box-sizing:border-box}
.ab2 a,.ab2 a:hover,.ab2 a:focus,.ab2 a:visited{text-decoration:none !important}
.ab2 img{display:block;max-width:100%;height:auto;border:0}
.ab2 :where(h1,h2,h3,h4,p,ul,ol,li,figure,figcaption,blockquote){margin:0;padding:0}
.ab2 :where(ul,ol){list-style:none}
.ab2 :where(h1,h2,h3){text-wrap:balance}
.ab2 :where(p,blockquote,li,span,small,figcaption,b){text-wrap:pretty}
.ab-wrap{width:min(1180px,calc(100% - 36px));margin-inline:auto}

/* Sections: the site's top bar is fixed (97 px above 1200, 89 to 769, 69 below), the top part starts under it */
.ab2 section{position:relative;margin:0;border:0}
.ab-top{padding:140px 0 64px;background:var(--ab-bw)}
.ab-sec{padding:88px 0}
.ab-white{background:var(--ab-white)}
.ab-bwbg{background:var(--ab-bw)}
.ab-blue{background:radial-gradient(90% 60% at 85% 0%,rgba(255,255,255,.14) 0%,rgba(255,255,255,0) 60%),linear-gradient(165deg,#1a6dff 0%,#0050d8 100%);color:#fff}
.ab-blue .fam-label{color:#fff}
.ab-blue .fam-h2,.ab-blue .fam-h2>span{color:#fff}
#story,#working,#build{scroll-margin-top:112px}

/* Section heads: small label, two-line heading */
.ab-head{max-width:780px;margin:0 0 44px}

/* The name row of the top part (family: mark, name, one line) */
.ab-name{display:flex;align-items:center;gap:12px;margin:0 0 26px}
.ab-name img{width:44px;height:44px;border-radius:11px;flex:none}
.ab-name b{display:block;font-size:22px;font-weight:750;line-height:1.2;letter-spacing:-.02em;color:var(--ab-ink-2)}
.ab-name small{display:block;margin-top:3px;font-size:15px;line-height:1.4;color:var(--ab-text)}

/* The top heading: two lines, the second in electric blue (the family's top heading) */
.ab2 h1.ab-h1{font-size:clamp(36px,calc(2.6vw + 15px),52px);font-weight:760;line-height:1.08;letter-spacing:-.039em;color:var(--ab-ink-2)}
.ab2 h1.ab-h1>span{display:block;color:var(--ab-blue)}
.ab-intro{margin:22px 0 0;max-width:520px;font-size:17px;line-height:1.7;color:#3d5068}
.ab-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 0}
.ab-actions .fam-btn svg{display:block;width:20px;height:20px;flex:none}
.ab-trust{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:22px 0 0;color:var(--ab-text);font-size:14px;line-height:1.4}
.ab-trust img.ab-tp-logo{width:86px;height:auto}
.ab-trust img.ab-tp-stars{width:84px;height:auto}
.ab-trust b{font-size:15px;font-weight:750;color:var(--ab-ink)}
.ab-trust:focus-visible{outline:0;border-radius:6px;box-shadow:0 0 0 3px rgba(0,102,255,.35)}

/* The three boxes under the top part (the family strip): each box jumps to the part that shows it */
.ab-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:48px}
.ab-strip li{border-radius:14px;background:#fff;box-shadow:var(--ab-lift);transition:box-shadow .2s cubic-bezier(.22,1,.36,1),transform .2s cubic-bezier(.22,1,.36,1)}
.ab-strip li:hover{box-shadow:0 1px 3px rgba(10,25,41,.06),0 12px 28px -18px rgba(10,25,41,.22);transform:translateY(-1px)}
.ab-strip a{text-wrap:balance;display:flex;align-items:center;gap:14px;height:100%;padding:13px 18px;border-radius:14px;color:#10233f;font-size:16px;font-weight:600;line-height:1.4}
.ab-strip a:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(0,102,255,.32)}
.ab-strip img{width:38px;height:38px;flex:none}

/* His photo in a white card, his name under it, nothing over the photo */
.ab-top-grid{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:72px;align-items:center}
.ab-portrait{padding:12px;border-radius:24px;background:#fff;box-shadow:var(--ab-lift)}
.ab-portrait img{width:100%;aspect-ratio:880/838;object-fit:cover;border-radius:16px;background:#0b0b0b}
.ab-portrait figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 8px 6px}
.ab-portrait figcaption b{display:block;white-space:nowrap;font-size:18px;font-weight:750;line-height:1.3;color:var(--ab-ink)}
.ab-portrait figcaption small{display:block;white-space:nowrap;font-size:14px;line-height:1.4;color:var(--ab-text)}
.ab-chip{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:8px;background:var(--ab-pale);color:var(--ab-blue-2);font-size:14px;font-weight:650;line-height:1.2;white-space:nowrap;transition:background-color .2s}
.ab-chip:hover{background:#d4e3ff;color:#003fae}
.ab-chip:focus-visible{outline:0;box-shadow:0 0 0 3px #fff,0 0 0 6px rgba(0,102,255,.55)}

/* His story as four tiles */
.ab-years{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ab-years li{padding:28px 26px 30px;border-radius:16px;background:var(--ab-soft)}
.ab-year{display:block;font-size:40px;font-weight:800;line-height:1;letter-spacing:-.03em;color:var(--ab-blue);white-space:nowrap}
.ab-years h3{margin:18px 0 0;font-size:20px;font-weight:750;line-height:1.3;letter-spacing:-.015em;color:var(--ab-ink)}
.ab-years p{margin:10px 0 0;font-size:16px;line-height:1.65;color:var(--ab-text)}

/* How I build: four white cards on the blue band */
.ab-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ab-card{padding:28px 26px 30px;border-radius:16px;background:#fff;color:var(--ab-ink-2)}
.ab-blue .ab-card{box-shadow:var(--ab-lift-blue)}
.ab-card img{width:48px;height:48px}
.ab-card h3{margin:20px 0 0;font-size:20px;font-weight:750;line-height:1.3;letter-spacing:-.015em;color:var(--ab-ink)}
.ab-card p{margin:10px 0 0;font-size:16px;line-height:1.65;color:var(--ab-text)}

/* In their words: three Trustpilot reviews */
.ab-reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.ab-review{display:flex;flex-direction:column;padding:28px 28px 26px;border-radius:16px;background:#fff;box-shadow:var(--ab-lift)}
.ab-review-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ab-review-top img{width:96px;height:auto}
.ab-review-top time{font-size:14px;line-height:1.4;color:#52657d}
.ab-review blockquote{margin:18px 0 0;font-size:18px;font-weight:500;line-height:1.6;letter-spacing:-.005em;color:var(--ab-ink)}
.ab-review-who{margin:auto 0 0;padding:20px 0 0;font-size:15px;line-height:1.4;color:var(--ab-text)}
.ab-review-who b{display:block;font-size:16px;font-weight:700;color:var(--ab-ink)}
.ab-reviews-foot{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px;margin:32px 0 0}

/* What I build: two cards */
.ab-build{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ab-build-card{display:flex;flex-direction:column;padding:34px;border-radius:20px;background:var(--ab-soft)}
.ab-build-card>img{width:52px;height:52px}
.ab-build-card h3{margin:22px 0 0;font-size:26px;font-weight:760;line-height:1.22;letter-spacing:-.02em;color:var(--ab-ink)}
.ab-build-card>p{margin:12px 0 28px;max-width:52ch;font-size:16.5px;line-height:1.65;color:var(--ab-text)}
.ab-build-card .fam-btn{align-self:flex-start;margin-top:auto}

/* Under 1200 px the top bar is 89 px */
@media (max-width:1200px){
  .ab-top{padding-top:132px}
  .ab-top-grid{grid-template-columns:minmax(0,1fr) 380px;gap:48px}
  /* V2 (4 Nov): one box per row, label or icon beside the words, so no row ends uneven */
  .ab-years,.ab-cards{grid-template-columns:minmax(0,1fr);gap:14px}
  .ab-years li{display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:32px;align-items:start}
  .ab-year{grid-row:1 / span 2;font-size:36px;padding-top:2px}
  .ab-years h3{margin-top:0}
  .ab-years p{grid-column:2}
  .ab-card{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:24px;align-items:start}
  .ab-card img{grid-row:1 / span 2}
  .ab-card h3{margin-top:10px}
  .ab-card p{grid-column:2}
}
@media (max-width:1024px){
  .ab-build{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:900px){
  .ab-top-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .ab-portrait{max-width:480px}
  .ab-reviews{grid-template-columns:minmax(0,1fr)}
}
/* Phones: the top bar is 69 px */
@media (max-width:768px){
  .ab-top{padding:112px 0 44px}
  .ab-sec{padding:56px 0}
  #story,#working,#build{scroll-margin-top:84px}
  .ab-head{margin-bottom:30px}
  .ab-name{margin-bottom:20px}
  .ab-name img{width:40px;height:40px;border-radius:10px}
  .ab-name b{font-size:20px}
  .ab-name small{font-size:14px}
  .ab2 h1.ab-h1{letter-spacing:-.035em}
  .ab-intro{margin-top:18px;font-size:16px;line-height:1.7}
  .ab-actions{margin-top:24px}
  .ab-strip{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:36px}
  .ab-strip a{padding:12px 16px;font-size:15px}
  .ab-strip img{width:32px;height:32px}
  .ab-years li,.ab-card{padding:24px 22px 26px}
  .ab-review{padding:24px 22px}
  .ab-review blockquote{font-size:17px}
  .ab-build-card{padding:26px 22px}
  .ab-build-card h3{font-size:23px}
}
@media (max-width:560px){
  /* V2: the label above the words again */
  .ab-years li,.ab-card{display:block}
  .ab-years h3{margin-top:18px}
  .ab-card h3{margin-top:20px}
}
/* V3 (4 Nov): on the smallest phones the story heading sizes itself to its block, so "studio." never sits alone */
@media (max-width:380px){
  .ab2 #story .ab-head{container-type:inline-size}
  .ab2 #ab-story-title{font-size:min(32px,8.6cqi)}
  /* V4 (4 Nov): the big labels in the story boxes stay smaller than the heading */
  .ab2 .ab-years li{container-type:inline-size}
  .ab2 .ab-year{font-size:min(36px,9.5cqi)}
}
@media (max-width:480px){
  .ab-actions .fam-btn{flex:1 1 100%}
  .ab-reviews-foot .fam-btn{width:100%}
  .ab-build-card .fam-btn{align-self:stretch}
}
@media (prefers-reduced-motion:reduce){
  .ab-strip li{transition:none}
  .ab-strip li:hover{transform:none}
}
